<cfquery name = "qlatest" datasource="#request.dsn#" maxrows="5">
SELECT * FROM blog_posts JOIN blog_categories ON blog_posts.cid = blog_categories.id
ORDER BY blog_posts.b_postedon DESC
</cfquery>